import type { App } from "vue";
import { createPinia } from "pinia";
// 创建 pinia 实例
const pinia = createPinia();

export function setupStore(app: App<Element>) {
  app.use(pinia);
}



export * from "./modules/favorite";
export * from "./modules/app";
export * from "./modules/permission";
export * from "./modules/settings";
export * from "./modules/tags-view";
export * from "./modules/user";
export * from "./modules/dict";
export * from "./modules/dict";
export * from "./modules/loginCheck";
export { pinia as store };
